'++LotusScript Development Environment:2:5:(Options):0:66 '++LotusScript Development Environment:2:5:(Forward):0:1 Declare Sub Click(Source As Rectangle, X As Long, Y As Long, Flags As Long) '++LotusScript Development Environment:2:5:(Declarations):0:2 '++LotusScript Development Environment:2:2:BindEvents:1:129 Private Sub BindEvents(Byval Objectname_ As String) Static Source As RECTANGLE Set Source = Bind(Objectname_) On Event Click From Source Call Click End Sub '++LotusScript Development Environment:2:2:Click:1:12 Sub Click(Source As Rectangle, X As Long, Y As Long, Flags As Long) If currentview.body.voidbutton.text="Remove this transaction from the balance" Then Messagebox("You must remove this transaction from the balance before you can edit this field.") Else source.Dateissued.text=Datevalue(source.Dateissued.text)-1 End If End Sub